<#include "header.ftl" />
	<#if post?exists>
		<div class="main-content">
			<div class="main-posts main-item">
				<div class="post-header">
					<#-- <a class="btn fr" rel="share">分享</a> -->
					<h2 class="post-title">${post.title}<#if post.isTop><sup class="tip">置顶！</sup></#if></h2>
					<div class="post-meta">
        					发表于${post.createTime?string('yyyy-MM-dd HH:mm:ss')}<span class="split">|</span>${post.replys!"0"}条评论<span class="split">|</span>${post.views!"0"} views                                    
					</div>
				</div>
				<@ad id=1 />
				<div class="post-summary">
					${post.content}
				</div>
				<div class="post-ft">
					<!--cnzz tui-->
						<script  type="text/javascript" c=gd  charset="utf-8"  src="http://tui.cnzz.net/cs.php?id=1000078537"></script>
					<!--cnzz tui-->
				</div>
			</div>
			<div class="post-copyright">
				<#if post.url?has_content>
				<b>
				[转载]原文地址：
					<#if post.site?has_content>
						<a href="${post.url}" target="_blank" rel="external nofollow">《${post.site}》</a>
					<#else>
						<a href="${post.url}" target="_blank" rel="external nofollow">${post.url}</a>
					</#if>
				</b><br/>
				</#if>
				如非注明，本站文章均为原创，转载请注明出处。<br/>
				本站地址：<a href="${siteurl}" target="_blank" title="${sitename}">${sitename}</a> <a href="${siteurl}" target="_blank" title="${sitename}">${siteurl}</a><br/>
				本文地址：<a href="<@postUrl id=post.id />" target="_blank" title="${post.title}"><@postAbsUrl id=post.id /></a><br/>
			</div>
			<@ad id=4 />
			<div class="line"></div>
			<div class="comment">
				<#-- <@m.widget path="/widget/comment/postComments?post=${post.id}" cache=false /> -->
				<#-- <script type='text/javascript' charset='utf-8' src='http://open.denglu.cc/connect/commentcode?appid=32022den41LwrYF6hecifCmoKvlo45&postid=${post.id}'></script> -->

                                <!-- 多说评论框 start -->
                                <div class="ds-thread" data-thread-key="请将此处替换成文章在你的站点中的ID" data-title="请替换成文章的标题" data-url="请替换成文章的网址"></div>
                                <!-- 多说评论框 end -->
                                <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
                                <script type="text/javascript">
                                var duoshuoQuery = {short_name:"mspring"};
                                (function() {
                                        var ds = document.createElement('script');
                                        ds.type = 'text/javascript';ds.async = true;
                                        ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
                                        ds.charset = 'UTF-8';
                                        (document.getElementsByTagName('head')[0] 
                                         || document.getElementsByTagName('body')[0]).appendChild(ds);
                                })();
                                </script>
                                <!-- 多说公共JS代码 end -->


                                <!--高速版，加载速度快，使用前需测试页面的兼容性-->
                                <#--
                                <div id="SOHUCS" style="clear:inherit;"></div>
                                <script>
                                  (function(){
                                    var appid = 'cyqLTvgvJ',
                                    conf = 'prod_8c8a58fa97c205ff222de3685497742c';
                                    var doc = document,
                                    s = doc.createElement('script'),
                                    h = doc.getElementsByTagName('head')[0] || doc.head || doc.documentElement;
                                    s.type = 'text/javascript';
                                    s.charset = 'utf-8';
                                    s.src =  'http://assets.changyan.sohu.com/upload/changyan.js?conf='+ conf +'&appid=' + appid;
                                    h.insertBefore(s,h.firstChild);
                                    window.SCS_NO_IFRAME = true;
                                  })()
                                </script>
                                -->
			</div>
		</div>
	<#else>
		<div class="main-content">
			<div class="main-posts main-item">
			404...  该文章没有找到
			</div>
		</div>
	</#if>
	<script type="text/javascript">
		$(document).ready(function(){
			$('.main-content img').css('cursor', 'pointer');
		});
	</script>
<#include "footer.ftl" />